package com.guoxue.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.guoxue.dao.ILevelConfigDao;
import com.guoxue.domain.LevelConfigVo;
import com.guoxue.service.ILevelConfigService;

@Service("levelConfigService")
public class LevelConfigServiceImpl implements ILevelConfigService{
	@Resource
	private ILevelConfigDao dao;

	@Override
	public LevelConfigVo getLevelByExp(int exp) {
		return dao.getLevelByExp(exp);
	}

	@Override
	public LevelConfigVo getNextLevelByExp(int exp) {
		return dao.getNextLevelByExp(exp);
	}

}
